/**
 * Created by perqin on 16-12-7.
 */

'use strict';

/**
 * Module dependencies.
 */
var config = require('../config');

var httpProxy = require('http-proxy');

module.exports.init = function () {
  return httpProxy.createServer({
    target: {
      host: config.fileServer.host,
      port: config.fileServer.port
    }
  });
};
